<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>parent</title>
    <link rel="stylesheet" th:href="@{/assets/libs/layui/css/layui.css}"/>
    <script type="text/javascript" th:src="@{/assets/libs/layui/layui.js}"></script>
    <script type="text/javascript" th:src="@{/assets/js/common.js?v=318}"></script>
    <script type="text/javascript" th:src="@{/assets/js/popwindow.js}"></script>
    <script type="text/javascript" th:src="@{/assets/libs/jquery/jquery-3.2.1.min.js}"></script>
</head>
<body>
<button onclick="promiseDialog()">弹出承诺</button>
</body>
<script th:inline="javascript">
    const baseUrl = [[${#request.getContextPath()}]];
    function promiseDialog() {
        open_windows('个人承诺',baseUrl + '/emp/promise?appType='+[[${appType}]])
    }

    function parentBack(value) {
        console.log('valuexxxx',value)
    }
</script>
</html>